package controller;

import org.springframework.web.bind.annotation.*;
import vo.AjaxResult;

/**
 * Author：汤小洋
 * Date：2023-09-21 16:02
 * Description：<描述>
 */
@RestController
@RequestMapping("/path")
public class PathController {

    // @RequestMapping(value = "/path1/{id}", method = RequestMethod.POST)
    // @PostMapping("/path1/{id}")
    // @GetMapping("/path1/{id}")
    @PutMapping("/path1/{id}")
    public AjaxResult path1(@PathVariable int id){
        System.out.println("PathController.path1......");

        System.out.println(5/0);

        return AjaxResult.success();
    }

}
